
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<link rel="stylesheet" type="text/css" href="include/webupload/webuploader.css">
<script src="include/webupload/webuploader.min.js"></script> 
<script src="include/webupload/uploads.js"></script>
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>

</head>
<body>
<div class="cssout">
  <div class="MenuboxS">
    <ul>
      <li class="hover" ><a href="?otype=Main&cltype=">工单列表<span class="tabnum">1</span></a></li>
      <li  ><a href="?otype=Main&wtype=1&cltype=">我发起的<span class="tabnum">1</span></a></li>
      <li  ><a href="?otype=Main&wtype=2&cltype=">我参与的<span class="tabnum">1</span></a></li>
      
      <li class="btn_new" >
        <dd class="isin"><a href="#" onclick='Infoadd_Chose()'>新增工单</a></span> 
      </li>
      
    </ul>
    <div class="clear"></div>
  </div>
  <div class="u_mune">
    <li class="u_add hover"><span><a href="?otype=Main&wtype=&cltype=">所有工单</a></span></li>
    <li class="u_add "><span><a href="?otype=Main&wtype=&cltype=1">已完成</a></span></li>
    <li class="u_add "><span><a href="?otype=Main&wtype=&cltype=2">处理中</a></span></li>
    <li class="u_add "><span><a href="?otype=Main&wtype=&cltype=0">未处理</a></span></li>
  </div>
  <div class="clear"></div>
</div>

<!----------------------------------------工单搜索开始---------------------------------------->
<!----------------------------------------工单搜索开始---------------------------------------->
<div class="cssout topNavsou">
 <div class="cssin">
<form class="layui-form" name="searchForm" action="?saction=ssdetail&LaiLu=" method="post">
  快速搜索：
  <input name="S07_MHsou" id="S07_MHsou" type="text" class="bor int mhsouint" size="40" value='' placeholder="客户名称、联系人、指派人员">
  <input type="submit" name="Submit" class="btn1 btnsou" value="立即搜索">
</form>
<div class="clear"></div>
</div>
</div>
<div class="bgDiv"></div>
<div class="cssout rightNav"> 
  
  <form class="layui-form" name="searchForm" action="?saction=ssdetail&LaiLu=" method="post">
    <div class="cssin" id="ss">
      <ul>
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 客户名称</dd></li>
        <li class="w23"><dd class="isin">
          <input name="cCompany" type="text" class="bor int" id="cCompany" size="30" onKeyUp="searchSuggest();" value=''>
          <span id="ss_suggest" style="display:none;"></span></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 客户联系人</dd></li>
        <li class="w23"><dd class="isin">
          <input name="gLinkman" type="text" class="bor int" id="gLinkman" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 工单类型</dd></li>
        <li class="w24"><dd class="isin">
          <select name="sType" id="Select_gongdan"><option value="">请选择</option><option value="售后工单">售后工单</option><option value="订单配送">订单配送</option></select></dd></li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 指派人员</dd></li>
        <li class="w23"><dd class="isin">
          <input name="gRenyuan" type="text" class="bor int" id="gRenyuan" size="30" value=''></dd></li>
        <li class="w10 bg tr"><dd class="isin"> 起始日期</dd></li>
        <li class="w23"><dd class="isin">
          <input name="gSdateBegin" type="text" maxlength="10" id="gSdateBegin" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
          ~
          <input name="gSdateEnd" type="text" maxlength="10" id="gSdateEnd" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
        </dd></li>
        <li class="w10 bg tr"><dd class="isin"> 结束日期</dd></li>
        <li class="w24"><dd class="isin">
          <input name="gEdateBegin" type="text" maxlength="10" id="gEdateBegin" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
          ~
          <input name="gEdateEnd" type="text" maxlength="10" id="gEdateEnd" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/></dd></li>
        <!--line--> 
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 交通方式</dd></li>
        <li class="w23"><dd class="isin">
          <select name="gJiaotong" id="Select_jiaotong"><option value="">请选择</option><option value="火车">火车</option></select></dd>
        </li>
        <li class="w10 bg tr"><dd class="isin"> 差旅联系人</dd></li>
        <li class="w23"><dd class="isin">
          <input name="gLianxiren" type="text" class="bor int" id="gLianxiren" size="30" value=''>
		  </dd>
        </li>
        <li class="w10 bg tr"><dd class="isin">录入时间</dd></li>
        <li class="w24"><dd class="isin"><input name="gtimeBegin" type="text" maxlength="10" id="gtimeBegin" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/>
          ~
          <input name="gtimeEnd" type="text" maxlength="10" id="gtimeEnd" class="int Wdate" size="15" onFocus="WdatePicker()" value=''/></dd></li>
        <!--line-->
        
        
        <!--line-->
        <li class="w10 bg tr"><dd class="isin"> 录入人员</dd></li>
        <li class="w23"><dd class="isin">
          <select name='guser' class='int'><option value="">请选择</option><option value="超级管理员">超级管理员</option><option value="测试">测试</option><option value="111">111</option><option value="啊">啊</option><option value="666">666</option><option value="596874656">596874656</option></select></dd></li>
        <li class="w10 bg tr"><dd class="isin"></dd></li>
        <li class="w23"><dd class="isin">
  </dd></li>
        <li class="w10 bg tr"><dd class="isin"></dd></li>
        <li class="w24"><dd class="isin"></dd></li>
        <!--line-->
        
        
        
        <li class="ss"><dd class="isin">
          <input type="submit" name="Submit" id="ss_button" class="btn2 btnsous" style=" top:50px;right:10px;" value="立即搜索">
          <input type="button" class="btn2 btnguanb" value="清空条件" onClick=window.location.href="?saction=ksn&LaiLu=" /></dd></li>
          <div class="clear"></div>
      </ul>
    </div>
  </form>
  
</div>
<div class="searchss"><a id="zkgb"><i class='ficon fa-search'></i>展开高级搜索</a></div>
<script>
var ssid=8
ztm=getCookie("ztm"+ssid);if (ztm==1){SSZK()}else{SSGB()}
$(function(){$("#zkgb").click(function(event){ztm=getCookie("ztm"+ssid);if (ztm==1){SSGB()}else{SSZK()} })});
function SSZK(){
$(".topNavsou").css("display","none")
$(".rightNav").css("display","block")
$("#zkgb").html("<i class='ficon fa-search-minus'></i>关闭高级搜索")
setCookie("ztm"+ssid,1); }
function SSGB(){
$(".topNavsou").css("display","block")
$(".rightNav").css("display","none")
$("#zkgb").html("<i class='ficon fa-search'></i>展开高级搜索")
setCookie("ztm"+ssid,0); }
var sou_hei=$(".cssout:first").height()+45
$("#ss_suggest").css("top",sou_hei+"px")
$.each($(".cssout:first .MenuboxS ul li a"),function(i,n){
    var $href = $(this).attr("href");
    $(this).attr("href",$href+"&saction=ksn");
});
</script> 
<script>function Infoadd_Chose() {$.dialog.open('findkehu.html?clearsen=1', {title: '新增工单【第一步:选择工单客户】', width: 1080, height: 550,fixed: true}); };</script> 
<script>function ChoseOK(i){
{$.dialog.open('gongdan_add.html?gotype=2&cID='+i, {title: '新增工单【第二步:录入工单信息】', width: 800, height: 500,fixed: true}); };
}
</script> 
<script>function Setting_gongdan(Dourl) {$.dialog.open(Dourl, {title: '列显示设置', width: 600, height: 330,fixed: true}); };</script>
<div class="cssout">
  <form class="layui-form" name="Search" action="?action=CheckSub&saction=Search&PN=1&LaiLu=" method="post">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_1">
      <tr class="tr_b">
        <td width="60" nowrap class="td_l_c">编号</td>
        
        <td width="80" nowrap class="td_l_c">工单类型</td>
        
        <td width="150" nowrap class="td_l_l">工单客户</td>
        
        <td width="100" nowrap class="td_l_c">客户联系人</td>
        
        <td width="100" nowrap class="td_l_c">处理</td>
        
        <td width="100" nowrap class="td_l_c">起始日期</td>
        
        <td width="100" nowrap class="td_l_c">结束日期</td>
        
        <td width="150" nowrap class="td_l_l">工作描述</td>
        
        <td width="100" nowrap class="td_l_c">发起时间</td>
        
        <td width="100" nowrap class="td_l_c">发起人</td>
        <td width="100" nowrap class="td_l_c">指派人员</td>
        <td width="100" nowrap class="td_l_c">附件</td>
        <td width="80" nowrap class="td_l_c">管理</td>
      </tr>
      
      <tr class="tr">
        <td class="td_l_c">1</td>
        
        <td class="td_l_c">订单配送</td>
        
        <td class="td_l_l"><a onclick='gongdan_Info1("gongdansave.asp?action=gongdan&stype=Audit&gid=1&bianji=0&LaiLu=")' style="cursor:pointer;">123</a>
          
          <script>function gongdan_Info1(Dourl) {$.dialog.open(Dourl, {title: '工单查看', width: 800,height: 500, fixed: true}); };</script>
          

<a class="fbtn open-app fa-comment-o i-sms" value="发短信" title="发短信" data-width="1000" data-height="450" href="crm/sms/send1.asp?fenlei=手动&moxing=工单&cid=1&xid=1&phone=13324567891&LaiLu="></a>

          
          </td>
        
        <td class="td_l_c">12312</td>
        
        <td class="td_l_c">
          <input type="button" class="btn1 btn_sh3" onclick='gongdan_InfoAudit1("gongdansave.asp?action=gongdan&stype=Audit&gid=1&bianji=1&LaiLu=")' value="未处理">
          
          <script>function gongdan_InfoAudit1(Dourl) {$.dialog.open(Dourl, {title: '工单处理', width: 800,height: 500, fixed: true}); };</script></td>
        
        <td class="td_l_c">2017/12/20</td>
        
        <td class="td_l_c">2017/12/21</td>
        
        <td class="td_l_l"></td>
        
        <td class="td_l_c">2017-12-20</td>
        
        <td class="td_l_c">超级管理员</td>
        <td class="td_l_c">超级管理员,测试</td>
       
        <td class="td_l_c">
          <input type="button" class="btn1 btnfujianno" value="上传附件" title="上传附件"  onclick='gongdan_Fujian1("fujian.html?action=fujian&stype=Listpic&flx=7&cid=1&xid=1&LaiLu=")' />
          </td>
        <td nowrap="nowrap" class="td_l_c">
          <a class="fbtn fa-edit i-edit" title="修改"  onclick='gongdan_InfoEdit1("gongdan_edit.html?action=gongdan&stype=Edit&gId=1&LaiLu=")' /></a>
          
          <a class="fbtn fa-trash-o i-del" title="删除" onclick='gongdan_InfoDel1("gongdansave.asp?action=gongdan&stype=DelReason&gid=1&LaiLu=","gongdanlist.asp?action=delete&gid=1&LaiLu=")' /></a>
          </td>
      </tr>
      <script>function gongdan_jilu1(Dourl) {$.dialog.open(Dourl, {title: '123 - 工作记录', width: 980,height: 500, fixed: true}); };</script> 
      <script>function gongdan_Fujian1(Dourl) {$.dialog.open(Dourl, {title: '123 - 工单附件', width: 870,height: 500, fixed: true}); };</script> 
      <script>function Kehu_chakan1(Dourl) {$.dialog.open(Dourl, {title: '查看', width: 1200,height: 500, fixed: true}); };</script> 
      <script>function gongdan_InfoEdit1(Dourl) {$.dialog.open(Dourl, {title: '修改工单信息', width: 800,height: 500, fixed: true}); };</script> 
      <script>function gongdan_InfoDel1(Dourl1,Dourl2){art.dialog({content: '是否确定删除?',icon: 'error',ok: function () {
								
 
								$.dialog.open(Dourl1,{title: '删除原因', width: 500,height: 230, fixed: true}); 
								
								art.dialog.close();},cancelVal: '关闭',cancel: true});};
							</script>
      
    </table>
    
  </form>
</div>
<div class="h50b"></div>
<div class="clear"></div>
<div class="fixed_bg">
  
 
  
  <!--分页代码开始-->
  <div class="pagepostion"> <ul class="pagination"><li class="first disabled"><a href='javascript:void(0);'>1 条记录 1/1页</a></li><li class="next disabled"><a href='gongdanlist.asp?otype=&TimeType=&PN=1'>首页</a></li><li class="active"><a href='javascript:void(0);'>1</a></li><li class="next disabled"><a href='gongdanlist.asp?otype=&TimeType=&PN=1'>尾页</a></li><script language='javascript'>function getValue(obj){if (document.getElementById("geturl").value!="") {location.href="gongdanlist.asp?otype=&TimeType=&PN="+escape(document.getElementById("geturl").value)+""}}</script><input class="pagenum" id="geturl" value="1"><li class="last"><a href='javascript:void(0);' onClick="getValue(geturl.value)">跳转</a></li></ul> </div>
  <!--分页代码结束--> 
  
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
